from django.db import models


# Create your models here.
class ProjectData(models.Model):
    area = models.CharField(primary_key=True, max_length=50)
    curConfirm = models.CharField(max_length=60)
    confirmedRelative = models.CharField(max_length=60)
    confirmed = models.IntegerField()
    crued = models.CharField(max_length=60)
    died = models.CharField(max_length=60)


class CityData(models.Model):
    area = models.CharField(max_length=50)
    city = models.CharField(primary_key=True, max_length=50)
    curConfirm = models.CharField(max_length=60)
    confirmedRelative = models.CharField(max_length=60)
    confirmed = models.IntegerField()
    cured = models.CharField(max_length=60)
    died = models.CharField(max_length=60)


class DangerousAreas(models.Model):
    id = models.IntegerField(primary_key=True)
    dangerousArea = models.CharField(max_length=225)
    level = models.CharField(max_length=30)


class IntegratedData(models.Model):
    add_local = models.CharField(max_length=55)
    add_local_none = models.CharField(max_length=55)
    add_overseas = models.CharField(max_length=55)
    add_GOT = models.CharField(max_length=55)

    localing = models.CharField(max_length=55)
    localing_none = models.CharField(max_length=55)
    overseas_ing = models.CharField(max_length=55)
    critical = models.CharField(max_length=55)

    confirmed = models.CharField(max_length=55)
    add_up_overseas = models.CharField(max_length=55)
    add_up_cured = models.CharField(max_length=55)
    add_up_died = models.CharField(max_length=55)

    confirmed_yesterday = models.CharField(max_length=55)
    add_up_overseas_yesterday = models.CharField(max_length=55)
    add_up_cured_yesterday = models.CharField(max_length=55)
    add_up_died_yesterday = models.CharField(max_length=55)
